package com.jkl.service.bsAddition;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jkl.comm.service.FileService;
import com.jkl.dao.bsAddition.BsAdditionMapper;
import com.jkl.entity.bsAddition.BsAddition;
import com.jkl.service.bsAddition.inter.BsAdditionServiceInterface;

import lombok.extern.slf4j.Slf4j;
@Service
@Slf4j
public class BsAdditionService implements BsAdditionServiceInterface {
	
	@Autowired
	private BsAdditionMapper bsAdditionMapper;
	
	@Override
	public int insert(BsAddition bsAddition) {
		int i= bsAdditionMapper.insert(bsAddition);
		if(i!=0) {
			return i;
		}else {
			return 0;
		}
	}

}
